package jprofiler.thread;

/**
 * @Author: David
 * @Date: 2021/3/31  19:38
 * @Version 1.0
 */
public class DeadLockMain {
    public static final Object LOCK_OBJ1 = new Object();
    public static final Object LOCK_OBJ2 = new Object();

    public static void main(String[] args) {
        try {
            System.out.println("睡眠 = " + args);
            Thread.sleep(10000);
        } catch (InterruptedException e) {
        }
        new Thread(new DeadLockA()).start();
        new Thread(new DeadLockB()).start();
    }
}
